package com.lzw.breezeNovel.model.entity.pojo.comic;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import nonapi.io.github.classgraph.json.Id;

import java.util.Date;
import java.util.List;


/**
 * @Author: 清风明月
 * @Date: 2023/3/7 10:47
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class ComicCategory {

    @Id
    @Schema(description = "分类ID，主键")
    private Long id;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "分类描述")
    private String description;

    @Schema(description = "创建时间")
    private Date createdAt;

    @Schema(description = "更新时间")
    private Date updatedAt;

    @Schema(description = "该分类下的漫画集合")
    private List<Comic> comics;

}